package com.jk.admin.service;

import com.jk.admin.dao.ShopDao;
import com.jk.admin.entity.Shoptype;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShopService {
    @Autowired
    private ShopDao shopDao;

    public List<Shoptype> getShop() {
        return shopDao.getShop();
    }

    public void delShop(Integer id) {
        shopDao.delShop(id);
    }
}
